package day230513;

import java.util.Scanner;

/**
 * @author 兴趣使然黄小黄
 * @version 1.0
 * @date 2023/5/14 15:27
 * 解读密码
 */
public class Main01 {

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        while (scan.hasNext()) {
            String ciphertext = scan.nextLine();
            StringBuilder decodeText = new StringBuilder(); // 用于存储解密后的数字
            for (char c : ciphertext.toCharArray()) {
                if (c >= '0' && c <= '9') {
                    decodeText.append(c);
                }
            }
            System.out.println(decodeText);
        }
        scan.close();
    }
}
